//-----------------------------------------------------------------------
// <copyright file="ConPointBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class ConPointBase
	{
		
		#region Variable Declarations
		private int				conPointID = 0;
		private string				description = string.Empty;
		private string				goods = string.Empty;
		private bool				isDisplayed = false;
		private string				containerLoading = string.Empty;
		private string				loadingPort = string.Empty;
		private decimal				halfPalletVol;
		private decimal				tallPalletVol;

		#endregion
		
		#region Constructors
		public ConPointBase() {}
		
		public ConPointBase (
			int conPointID,
			string description,
			string goods,
			bool isDisplayed,
			string containerLoading,
			string loadingPort, decimal tallPalletVol, decimal halfPalletVol)
		
		{
			this.conPointID = conPointID;
			this.description = description;
			this.goods = goods;
			this.isDisplayed = isDisplayed;
			this.containerLoading = containerLoading;
			this.loadingPort = loadingPort;
			this.tallPalletVol = tallPalletVol;
			this.halfPalletVol  = halfPalletVol ;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int ConPointID
		{
			get { return conPointID; }
			set { conPointID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Description
		{
			get { return description; }
			set { description = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string Goods
		{
			get { return goods; }
			set { goods = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is bit</value>
		public bool IsDisplayed
		{
			get { return isDisplayed; }
			set { isDisplayed = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string ContainerLoading
		{
			get { return containerLoading; }
			set { containerLoading = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string LoadingPort
		{
			get { return loadingPort; }
			set { loadingPort = value; }
		}
	

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal TallPalletVol
		{
			get { return tallPalletVol; }
			set { tallPalletVol = value; }
		}

		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal HalfPalletVol
		{
			get { return halfPalletVol; }
			set { halfPalletVol = value; }
		}

		
		#endregion
	}//End Class
	
	public enum ConPointColumns
	{
		ConPointID,
		Description,
		Goods,
		IsDisplayed,
		ContainerLoading,
		LoadingPort,
		TallPalletVol,
		HalfPalletVol
	}//End enum
}